class RenameItemCommentIdToItemRatingId < ActiveRecord::Migration
  def self.up
    rename_column :item_rating_voles, :item_comment_id, :item_rating_id
    rename_column :item_rating_replies, :item_comment_id, :item_rating_id
  end

  def self.down
    rename_column :item_rating_voles, :item_rating_id, :item_comment_id
    rename_column :item_rating_replies, :item_rating_id, :item_comment_id
  end
end
